﻿using System.Collections.Generic;
using InvestmentIntelligence.DbModel.Models;

namespace InvestmentIntelligence.Data.Repository
{
    public interface ISecurityFinderRepository
    {
        List<SecurityView> FindByName(string term, int limit=10);

        List<SecurityView> Find(string term, int limit = 10);
        
        List<SecurityView> FindByBook(int fundBookId, string term, int limit = 10);

        List<SecurityView> FindByRic(string term);

        List<SecurityView> FindByTicker(string term);
    }
}
